package com.worthtech.billportal.bean;


/**
 * CsPepJnls entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class CsPepJnls implements java.io.Serializable {

	// Fields

	private String pepdate;
	private String peptime;
	private String outcdno;
	private String intcdno;
	private String tranamt;
	private String bit28;
	private Long trace;

	// Constructors

	/** default constructor */
	public CsPepJnls() {
	}

	/** full constructor */
	public CsPepJnls(String pepdate, String peptime, String outcdno,
			String intcdno, String tranamt, String bit28, Long trace) {
		this.pepdate = pepdate;
		this.peptime = peptime;
		this.outcdno = outcdno;
		this.intcdno = intcdno;
		this.tranamt = tranamt;
		this.bit28 = bit28;
		this.trace = trace;
	}

	// Property accessors

	public String getPepdate() {
		return this.pepdate;
	}

	public void setPepdate(String pepdate) {
		this.pepdate = pepdate;
	}

	public String getPeptime() {
		return this.peptime;
	}

	public void setPeptime(String peptime) {
		this.peptime = peptime;
	}

	public String getOutcdno() {
		return this.outcdno;
	}

	public void setOutcdno(String outcdno) {
		this.outcdno = outcdno;
	}

	public String getIntcdno() {
		return this.intcdno;
	}

	public void setIntcdno(String intcdno) {
		this.intcdno = intcdno;
	}

	public String getTranamt() {
		return this.tranamt;
	}

	public void setTranamt(String tranamt) {
		this.tranamt = tranamt;
	}

	public String getBit28() {
		return this.bit28;
	}

	public void setBit28(String bit28) {
		this.bit28 = bit28;
	}

	public Long getTrace() {
		return this.trace;
	}

	public void setTrace(Long trace) {
		this.trace = trace;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof CsPepJnls))
			return false;
		CsPepJnls castOther = (CsPepJnls) other;

		return ((this.getPepdate() == castOther.getPepdate()) || (this
				.getPepdate() != null
				&& castOther.getPepdate() != null && this.getPepdate().equals(
				castOther.getPepdate())))
				&& ((this.getPeptime() == castOther.getPeptime()) || (this
						.getPeptime() != null
						&& castOther.getPeptime() != null && this.getPeptime()
						.equals(castOther.getPeptime())))
				&& ((this.getOutcdno() == castOther.getOutcdno()) || (this
						.getOutcdno() != null
						&& castOther.getOutcdno() != null && this.getOutcdno()
						.equals(castOther.getOutcdno())))
				&& ((this.getIntcdno() == castOther.getIntcdno()) || (this
						.getIntcdno() != null
						&& castOther.getIntcdno() != null && this.getIntcdno()
						.equals(castOther.getIntcdno())))
				&& ((this.getTranamt() == castOther.getTranamt()) || (this
						.getTranamt() != null
						&& castOther.getTranamt() != null && this.getTranamt()
						.equals(castOther.getTranamt())))
				&& ((this.getBit28() == castOther.getBit28()) || (this
						.getBit28() != null
						&& castOther.getBit28() != null && this.getBit28()
						.equals(castOther.getBit28())))
				&& ((this.getTrace() == castOther.getTrace()) || (this
						.getTrace() != null
						&& castOther.getTrace() != null && this.getTrace()
						.equals(castOther.getTrace())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result
				+ (getPepdate() == null ? 0 : this.getPepdate().hashCode());
		result = 37 * result
				+ (getPeptime() == null ? 0 : this.getPeptime().hashCode());
		result = 37 * result
				+ (getOutcdno() == null ? 0 : this.getOutcdno().hashCode());
		result = 37 * result
				+ (getIntcdno() == null ? 0 : this.getIntcdno().hashCode());
		result = 37 * result
				+ (getTranamt() == null ? 0 : this.getTranamt().hashCode());
		result = 37 * result
				+ (getBit28() == null ? 0 : this.getBit28().hashCode());
		result = 37 * result
				+ (getTrace() == null ? 0 : this.getTrace().hashCode());
		return result;
	}


}